package com.kgc.travel.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UserExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UserExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Long> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Long> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserNickNameIsNull() {
            addCriterion("user_nick_name is null");
            return (Criteria) this;
        }

        public Criteria andUserNickNameIsNotNull() {
            addCriterion("user_nick_name is not null");
            return (Criteria) this;
        }

        public Criteria andUserNickNameEqualTo(String value) {
            addCriterion("user_nick_name =", value, "userNickName");
            return (Criteria) this;
        }

        public Criteria andUserNickNameNotEqualTo(String value) {
            addCriterion("user_nick_name <>", value, "userNickName");
            return (Criteria) this;
        }

        public Criteria andUserNickNameGreaterThan(String value) {
            addCriterion("user_nick_name >", value, "userNickName");
            return (Criteria) this;
        }

        public Criteria andUserNickNameGreaterThanOrEqualTo(String value) {
            addCriterion("user_nick_name >=", value, "userNickName");
            return (Criteria) this;
        }

        public Criteria andUserNickNameLessThan(String value) {
            addCriterion("user_nick_name <", value, "userNickName");
            return (Criteria) this;
        }

        public Criteria andUserNickNameLessThanOrEqualTo(String value) {
            addCriterion("user_nick_name <=", value, "userNickName");
            return (Criteria) this;
        }

        public Criteria andUserNickNameLike(String value) {
            addCriterion("user_nick_name like", value, "userNickName");
            return (Criteria) this;
        }

        public Criteria andUserNickNameNotLike(String value) {
            addCriterion("user_nick_name not like", value, "userNickName");
            return (Criteria) this;
        }

        public Criteria andUserNickNameIn(List<String> values) {
            addCriterion("user_nick_name in", values, "userNickName");
            return (Criteria) this;
        }

        public Criteria andUserNickNameNotIn(List<String> values) {
            addCriterion("user_nick_name not in", values, "userNickName");
            return (Criteria) this;
        }

        public Criteria andUserNickNameBetween(String value1, String value2) {
            addCriterion("user_nick_name between", value1, value2, "userNickName");
            return (Criteria) this;
        }

        public Criteria andUserNickNameNotBetween(String value1, String value2) {
            addCriterion("user_nick_name not between", value1, value2, "userNickName");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNull() {
            addCriterion("user_name is null");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNotNull() {
            addCriterion("user_name is not null");
            return (Criteria) this;
        }

        public Criteria andUserNameEqualTo(String value) {
            addCriterion("user_name =", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotEqualTo(String value) {
            addCriterion("user_name <>", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThan(String value) {
            addCriterion("user_name >", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("user_name >=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThan(String value) {
            addCriterion("user_name <", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThanOrEqualTo(String value) {
            addCriterion("user_name <=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLike(String value) {
            addCriterion("user_name like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotLike(String value) {
            addCriterion("user_name not like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameIn(List<String> values) {
            addCriterion("user_name in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotIn(List<String> values) {
            addCriterion("user_name not in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameBetween(String value1, String value2) {
            addCriterion("user_name between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotBetween(String value1, String value2) {
            addCriterion("user_name not between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserPasswordIsNull() {
            addCriterion("user_password is null");
            return (Criteria) this;
        }

        public Criteria andUserPasswordIsNotNull() {
            addCriterion("user_password is not null");
            return (Criteria) this;
        }

        public Criteria andUserPasswordEqualTo(String value) {
            addCriterion("user_password =", value, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordNotEqualTo(String value) {
            addCriterion("user_password <>", value, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordGreaterThan(String value) {
            addCriterion("user_password >", value, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordGreaterThanOrEqualTo(String value) {
            addCriterion("user_password >=", value, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordLessThan(String value) {
            addCriterion("user_password <", value, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordLessThanOrEqualTo(String value) {
            addCriterion("user_password <=", value, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordLike(String value) {
            addCriterion("user_password like", value, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordNotLike(String value) {
            addCriterion("user_password not like", value, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordIn(List<String> values) {
            addCriterion("user_password in", values, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordNotIn(List<String> values) {
            addCriterion("user_password not in", values, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordBetween(String value1, String value2) {
            addCriterion("user_password between", value1, value2, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPasswordNotBetween(String value1, String value2) {
            addCriterion("user_password not between", value1, value2, "userPassword");
            return (Criteria) this;
        }

        public Criteria andUserPhoneIsNull() {
            addCriterion("user_phone is null");
            return (Criteria) this;
        }

        public Criteria andUserPhoneIsNotNull() {
            addCriterion("user_phone is not null");
            return (Criteria) this;
        }

        public Criteria andUserPhoneEqualTo(String value) {
            addCriterion("user_phone =", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNotEqualTo(String value) {
            addCriterion("user_phone <>", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneGreaterThan(String value) {
            addCriterion("user_phone >", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("user_phone >=", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneLessThan(String value) {
            addCriterion("user_phone <", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneLessThanOrEqualTo(String value) {
            addCriterion("user_phone <=", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneLike(String value) {
            addCriterion("user_phone like", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNotLike(String value) {
            addCriterion("user_phone not like", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneIn(List<String> values) {
            addCriterion("user_phone in", values, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNotIn(List<String> values) {
            addCriterion("user_phone not in", values, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneBetween(String value1, String value2) {
            addCriterion("user_phone between", value1, value2, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNotBetween(String value1, String value2) {
            addCriterion("user_phone not between", value1, value2, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserEmailIsNull() {
            addCriterion("user_email is null");
            return (Criteria) this;
        }

        public Criteria andUserEmailIsNotNull() {
            addCriterion("user_email is not null");
            return (Criteria) this;
        }

        public Criteria andUserEmailEqualTo(String value) {
            addCriterion("user_email =", value, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailNotEqualTo(String value) {
            addCriterion("user_email <>", value, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailGreaterThan(String value) {
            addCriterion("user_email >", value, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailGreaterThanOrEqualTo(String value) {
            addCriterion("user_email >=", value, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailLessThan(String value) {
            addCriterion("user_email <", value, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailLessThanOrEqualTo(String value) {
            addCriterion("user_email <=", value, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailLike(String value) {
            addCriterion("user_email like", value, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailNotLike(String value) {
            addCriterion("user_email not like", value, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailIn(List<String> values) {
            addCriterion("user_email in", values, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailNotIn(List<String> values) {
            addCriterion("user_email not in", values, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailBetween(String value1, String value2) {
            addCriterion("user_email between", value1, value2, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserEmailNotBetween(String value1, String value2) {
            addCriterion("user_email not between", value1, value2, "userEmail");
            return (Criteria) this;
        }

        public Criteria andUserNumberIsNull() {
            addCriterion("user_number is null");
            return (Criteria) this;
        }

        public Criteria andUserNumberIsNotNull() {
            addCriterion("user_number is not null");
            return (Criteria) this;
        }

        public Criteria andUserNumberEqualTo(String value) {
            addCriterion("user_number =", value, "userNumber");
            return (Criteria) this;
        }

        public Criteria andUserNumberNotEqualTo(String value) {
            addCriterion("user_number <>", value, "userNumber");
            return (Criteria) this;
        }

        public Criteria andUserNumberGreaterThan(String value) {
            addCriterion("user_number >", value, "userNumber");
            return (Criteria) this;
        }

        public Criteria andUserNumberGreaterThanOrEqualTo(String value) {
            addCriterion("user_number >=", value, "userNumber");
            return (Criteria) this;
        }

        public Criteria andUserNumberLessThan(String value) {
            addCriterion("user_number <", value, "userNumber");
            return (Criteria) this;
        }

        public Criteria andUserNumberLessThanOrEqualTo(String value) {
            addCriterion("user_number <=", value, "userNumber");
            return (Criteria) this;
        }

        public Criteria andUserNumberLike(String value) {
            addCriterion("user_number like", value, "userNumber");
            return (Criteria) this;
        }

        public Criteria andUserNumberNotLike(String value) {
            addCriterion("user_number not like", value, "userNumber");
            return (Criteria) this;
        }

        public Criteria andUserNumberIn(List<String> values) {
            addCriterion("user_number in", values, "userNumber");
            return (Criteria) this;
        }

        public Criteria andUserNumberNotIn(List<String> values) {
            addCriterion("user_number not in", values, "userNumber");
            return (Criteria) this;
        }

        public Criteria andUserNumberBetween(String value1, String value2) {
            addCriterion("user_number between", value1, value2, "userNumber");
            return (Criteria) this;
        }

        public Criteria andUserNumberNotBetween(String value1, String value2) {
            addCriterion("user_number not between", value1, value2, "userNumber");
            return (Criteria) this;
        }

        public Criteria andUserSexIsNull() {
            addCriterion("user_sex is null");
            return (Criteria) this;
        }

        public Criteria andUserSexIsNotNull() {
            addCriterion("user_sex is not null");
            return (Criteria) this;
        }

        public Criteria andUserSexEqualTo(Integer value) {
            addCriterion("user_sex =", value, "userSex");
            return (Criteria) this;
        }

        public Criteria andUserSexNotEqualTo(Integer value) {
            addCriterion("user_sex <>", value, "userSex");
            return (Criteria) this;
        }

        public Criteria andUserSexGreaterThan(Integer value) {
            addCriterion("user_sex >", value, "userSex");
            return (Criteria) this;
        }

        public Criteria andUserSexGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_sex >=", value, "userSex");
            return (Criteria) this;
        }

        public Criteria andUserSexLessThan(Integer value) {
            addCriterion("user_sex <", value, "userSex");
            return (Criteria) this;
        }

        public Criteria andUserSexLessThanOrEqualTo(Integer value) {
            addCriterion("user_sex <=", value, "userSex");
            return (Criteria) this;
        }

        public Criteria andUserSexIn(List<Integer> values) {
            addCriterion("user_sex in", values, "userSex");
            return (Criteria) this;
        }

        public Criteria andUserSexNotIn(List<Integer> values) {
            addCriterion("user_sex not in", values, "userSex");
            return (Criteria) this;
        }

        public Criteria andUserSexBetween(Integer value1, Integer value2) {
            addCriterion("user_sex between", value1, value2, "userSex");
            return (Criteria) this;
        }

        public Criteria andUserSexNotBetween(Integer value1, Integer value2) {
            addCriterion("user_sex not between", value1, value2, "userSex");
            return (Criteria) this;
        }

        public Criteria andUserPortraitIsNull() {
            addCriterion("user_portrait is null");
            return (Criteria) this;
        }

        public Criteria andUserPortraitIsNotNull() {
            addCriterion("user_portrait is not null");
            return (Criteria) this;
        }

        public Criteria andUserPortraitEqualTo(String value) {
            addCriterion("user_portrait =", value, "userPortrait");
            return (Criteria) this;
        }

        public Criteria andUserPortraitNotEqualTo(String value) {
            addCriterion("user_portrait <>", value, "userPortrait");
            return (Criteria) this;
        }

        public Criteria andUserPortraitGreaterThan(String value) {
            addCriterion("user_portrait >", value, "userPortrait");
            return (Criteria) this;
        }

        public Criteria andUserPortraitGreaterThanOrEqualTo(String value) {
            addCriterion("user_portrait >=", value, "userPortrait");
            return (Criteria) this;
        }

        public Criteria andUserPortraitLessThan(String value) {
            addCriterion("user_portrait <", value, "userPortrait");
            return (Criteria) this;
        }

        public Criteria andUserPortraitLessThanOrEqualTo(String value) {
            addCriterion("user_portrait <=", value, "userPortrait");
            return (Criteria) this;
        }

        public Criteria andUserPortraitLike(String value) {
            addCriterion("user_portrait like", value, "userPortrait");
            return (Criteria) this;
        }

        public Criteria andUserPortraitNotLike(String value) {
            addCriterion("user_portrait not like", value, "userPortrait");
            return (Criteria) this;
        }

        public Criteria andUserPortraitIn(List<String> values) {
            addCriterion("user_portrait in", values, "userPortrait");
            return (Criteria) this;
        }

        public Criteria andUserPortraitNotIn(List<String> values) {
            addCriterion("user_portrait not in", values, "userPortrait");
            return (Criteria) this;
        }

        public Criteria andUserPortraitBetween(String value1, String value2) {
            addCriterion("user_portrait between", value1, value2, "userPortrait");
            return (Criteria) this;
        }

        public Criteria andUserPortraitNotBetween(String value1, String value2) {
            addCriterion("user_portrait not between", value1, value2, "userPortrait");
            return (Criteria) this;
        }

        public Criteria andUserIslockedIsNull() {
            addCriterion("user_islocked is null");
            return (Criteria) this;
        }

        public Criteria andUserIslockedIsNotNull() {
            addCriterion("user_islocked is not null");
            return (Criteria) this;
        }

        public Criteria andUserIslockedEqualTo(Integer value) {
            addCriterion("user_islocked =", value, "userIslocked");
            return (Criteria) this;
        }

        public Criteria andUserIslockedNotEqualTo(Integer value) {
            addCriterion("user_islocked <>", value, "userIslocked");
            return (Criteria) this;
        }

        public Criteria andUserIslockedGreaterThan(Integer value) {
            addCriterion("user_islocked >", value, "userIslocked");
            return (Criteria) this;
        }

        public Criteria andUserIslockedGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_islocked >=", value, "userIslocked");
            return (Criteria) this;
        }

        public Criteria andUserIslockedLessThan(Integer value) {
            addCriterion("user_islocked <", value, "userIslocked");
            return (Criteria) this;
        }

        public Criteria andUserIslockedLessThanOrEqualTo(Integer value) {
            addCriterion("user_islocked <=", value, "userIslocked");
            return (Criteria) this;
        }

        public Criteria andUserIslockedIn(List<Integer> values) {
            addCriterion("user_islocked in", values, "userIslocked");
            return (Criteria) this;
        }

        public Criteria andUserIslockedNotIn(List<Integer> values) {
            addCriterion("user_islocked not in", values, "userIslocked");
            return (Criteria) this;
        }

        public Criteria andUserIslockedBetween(Integer value1, Integer value2) {
            addCriterion("user_islocked between", value1, value2, "userIslocked");
            return (Criteria) this;
        }

        public Criteria andUserIslockedNotBetween(Integer value1, Integer value2) {
            addCriterion("user_islocked not between", value1, value2, "userIslocked");
            return (Criteria) this;
        }

        public Criteria andUserCertificateIdIsNull() {
            addCriterion("user_certificate_id is null");
            return (Criteria) this;
        }

        public Criteria andUserCertificateIdIsNotNull() {
            addCriterion("user_certificate_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserCertificateIdEqualTo(Integer value) {
            addCriterion("user_certificate_id =", value, "userCertificateId");
            return (Criteria) this;
        }

        public Criteria andUserCertificateIdNotEqualTo(Integer value) {
            addCriterion("user_certificate_id <>", value, "userCertificateId");
            return (Criteria) this;
        }

        public Criteria andUserCertificateIdGreaterThan(Integer value) {
            addCriterion("user_certificate_id >", value, "userCertificateId");
            return (Criteria) this;
        }

        public Criteria andUserCertificateIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_certificate_id >=", value, "userCertificateId");
            return (Criteria) this;
        }

        public Criteria andUserCertificateIdLessThan(Integer value) {
            addCriterion("user_certificate_id <", value, "userCertificateId");
            return (Criteria) this;
        }

        public Criteria andUserCertificateIdLessThanOrEqualTo(Integer value) {
            addCriterion("user_certificate_id <=", value, "userCertificateId");
            return (Criteria) this;
        }

        public Criteria andUserCertificateIdIn(List<Integer> values) {
            addCriterion("user_certificate_id in", values, "userCertificateId");
            return (Criteria) this;
        }

        public Criteria andUserCertificateIdNotIn(List<Integer> values) {
            addCriterion("user_certificate_id not in", values, "userCertificateId");
            return (Criteria) this;
        }

        public Criteria andUserCertificateIdBetween(Integer value1, Integer value2) {
            addCriterion("user_certificate_id between", value1, value2, "userCertificateId");
            return (Criteria) this;
        }

        public Criteria andUserCertificateIdNotBetween(Integer value1, Integer value2) {
            addCriterion("user_certificate_id not between", value1, value2, "userCertificateId");
            return (Criteria) this;
        }

        public Criteria andUserClassIdIsNull() {
            addCriterion("user_class_id is null");
            return (Criteria) this;
        }

        public Criteria andUserClassIdIsNotNull() {
            addCriterion("user_class_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserClassIdEqualTo(Integer value) {
            addCriterion("user_class_id =", value, "userClassId");
            return (Criteria) this;
        }

        public Criteria andUserClassIdNotEqualTo(Integer value) {
            addCriterion("user_class_id <>", value, "userClassId");
            return (Criteria) this;
        }

        public Criteria andUserClassIdGreaterThan(Integer value) {
            addCriterion("user_class_id >", value, "userClassId");
            return (Criteria) this;
        }

        public Criteria andUserClassIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_class_id >=", value, "userClassId");
            return (Criteria) this;
        }

        public Criteria andUserClassIdLessThan(Integer value) {
            addCriterion("user_class_id <", value, "userClassId");
            return (Criteria) this;
        }

        public Criteria andUserClassIdLessThanOrEqualTo(Integer value) {
            addCriterion("user_class_id <=", value, "userClassId");
            return (Criteria) this;
        }

        public Criteria andUserClassIdIn(List<Integer> values) {
            addCriterion("user_class_id in", values, "userClassId");
            return (Criteria) this;
        }

        public Criteria andUserClassIdNotIn(List<Integer> values) {
            addCriterion("user_class_id not in", values, "userClassId");
            return (Criteria) this;
        }

        public Criteria andUserClassIdBetween(Integer value1, Integer value2) {
            addCriterion("user_class_id between", value1, value2, "userClassId");
            return (Criteria) this;
        }

        public Criteria andUserClassIdNotBetween(Integer value1, Integer value2) {
            addCriterion("user_class_id not between", value1, value2, "userClassId");
            return (Criteria) this;
        }

        public Criteria andUserActivityIdIsNull() {
            addCriterion("user_activity_id is null");
            return (Criteria) this;
        }

        public Criteria andUserActivityIdIsNotNull() {
            addCriterion("user_activity_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserActivityIdEqualTo(Integer value) {
            addCriterion("user_activity_id =", value, "userActivityId");
            return (Criteria) this;
        }

        public Criteria andUserActivityIdNotEqualTo(Integer value) {
            addCriterion("user_activity_id <>", value, "userActivityId");
            return (Criteria) this;
        }

        public Criteria andUserActivityIdGreaterThan(Integer value) {
            addCriterion("user_activity_id >", value, "userActivityId");
            return (Criteria) this;
        }

        public Criteria andUserActivityIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_activity_id >=", value, "userActivityId");
            return (Criteria) this;
        }

        public Criteria andUserActivityIdLessThan(Integer value) {
            addCriterion("user_activity_id <", value, "userActivityId");
            return (Criteria) this;
        }

        public Criteria andUserActivityIdLessThanOrEqualTo(Integer value) {
            addCriterion("user_activity_id <=", value, "userActivityId");
            return (Criteria) this;
        }

        public Criteria andUserActivityIdIn(List<Integer> values) {
            addCriterion("user_activity_id in", values, "userActivityId");
            return (Criteria) this;
        }

        public Criteria andUserActivityIdNotIn(List<Integer> values) {
            addCriterion("user_activity_id not in", values, "userActivityId");
            return (Criteria) this;
        }

        public Criteria andUserActivityIdBetween(Integer value1, Integer value2) {
            addCriterion("user_activity_id between", value1, value2, "userActivityId");
            return (Criteria) this;
        }

        public Criteria andUserActivityIdNotBetween(Integer value1, Integer value2) {
            addCriterion("user_activity_id not between", value1, value2, "userActivityId");
            return (Criteria) this;
        }

        public Criteria andUserGmtModifiedIsNull() {
            addCriterion("user_gmt_modified is null");
            return (Criteria) this;
        }

        public Criteria andUserGmtModifiedIsNotNull() {
            addCriterion("user_gmt_modified is not null");
            return (Criteria) this;
        }

        public Criteria andUserGmtModifiedEqualTo(Date value) {
            addCriterion("user_gmt_modified =", value, "userGmtModified");
            return (Criteria) this;
        }

        public Criteria andUserGmtModifiedNotEqualTo(Date value) {
            addCriterion("user_gmt_modified <>", value, "userGmtModified");
            return (Criteria) this;
        }

        public Criteria andUserGmtModifiedGreaterThan(Date value) {
            addCriterion("user_gmt_modified >", value, "userGmtModified");
            return (Criteria) this;
        }

        public Criteria andUserGmtModifiedGreaterThanOrEqualTo(Date value) {
            addCriterion("user_gmt_modified >=", value, "userGmtModified");
            return (Criteria) this;
        }

        public Criteria andUserGmtModifiedLessThan(Date value) {
            addCriterion("user_gmt_modified <", value, "userGmtModified");
            return (Criteria) this;
        }

        public Criteria andUserGmtModifiedLessThanOrEqualTo(Date value) {
            addCriterion("user_gmt_modified <=", value, "userGmtModified");
            return (Criteria) this;
        }

        public Criteria andUserGmtModifiedIn(List<Date> values) {
            addCriterion("user_gmt_modified in", values, "userGmtModified");
            return (Criteria) this;
        }

        public Criteria andUserGmtModifiedNotIn(List<Date> values) {
            addCriterion("user_gmt_modified not in", values, "userGmtModified");
            return (Criteria) this;
        }

        public Criteria andUserGmtModifiedBetween(Date value1, Date value2) {
            addCriterion("user_gmt_modified between", value1, value2, "userGmtModified");
            return (Criteria) this;
        }

        public Criteria andUserGmtModifiedNotBetween(Date value1, Date value2) {
            addCriterion("user_gmt_modified not between", value1, value2, "userGmtModified");
            return (Criteria) this;
        }

        public Criteria andUserGmtCreateIsNull() {
            addCriterion("user_gmt_create is null");
            return (Criteria) this;
        }

        public Criteria andUserGmtCreateIsNotNull() {
            addCriterion("user_gmt_create is not null");
            return (Criteria) this;
        }

        public Criteria andUserGmtCreateEqualTo(Date value) {
            addCriterion("user_gmt_create =", value, "userGmtCreate");
            return (Criteria) this;
        }

        public Criteria andUserGmtCreateNotEqualTo(Date value) {
            addCriterion("user_gmt_create <>", value, "userGmtCreate");
            return (Criteria) this;
        }

        public Criteria andUserGmtCreateGreaterThan(Date value) {
            addCriterion("user_gmt_create >", value, "userGmtCreate");
            return (Criteria) this;
        }

        public Criteria andUserGmtCreateGreaterThanOrEqualTo(Date value) {
            addCriterion("user_gmt_create >=", value, "userGmtCreate");
            return (Criteria) this;
        }

        public Criteria andUserGmtCreateLessThan(Date value) {
            addCriterion("user_gmt_create <", value, "userGmtCreate");
            return (Criteria) this;
        }

        public Criteria andUserGmtCreateLessThanOrEqualTo(Date value) {
            addCriterion("user_gmt_create <=", value, "userGmtCreate");
            return (Criteria) this;
        }

        public Criteria andUserGmtCreateIn(List<Date> values) {
            addCriterion("user_gmt_create in", values, "userGmtCreate");
            return (Criteria) this;
        }

        public Criteria andUserGmtCreateNotIn(List<Date> values) {
            addCriterion("user_gmt_create not in", values, "userGmtCreate");
            return (Criteria) this;
        }

        public Criteria andUserGmtCreateBetween(Date value1, Date value2) {
            addCriterion("user_gmt_create between", value1, value2, "userGmtCreate");
            return (Criteria) this;
        }

        public Criteria andUserGmtCreateNotBetween(Date value1, Date value2) {
            addCriterion("user_gmt_create not between", value1, value2, "userGmtCreate");
            return (Criteria) this;
        }

        public Criteria andUserNoteIsNull() {
            addCriterion("user_note is null");
            return (Criteria) this;
        }

        public Criteria andUserNoteIsNotNull() {
            addCriterion("user_note is not null");
            return (Criteria) this;
        }

        public Criteria andUserNoteEqualTo(String value) {
            addCriterion("user_note =", value, "userNote");
            return (Criteria) this;
        }

        public Criteria andUserNoteNotEqualTo(String value) {
            addCriterion("user_note <>", value, "userNote");
            return (Criteria) this;
        }

        public Criteria andUserNoteGreaterThan(String value) {
            addCriterion("user_note >", value, "userNote");
            return (Criteria) this;
        }

        public Criteria andUserNoteGreaterThanOrEqualTo(String value) {
            addCriterion("user_note >=", value, "userNote");
            return (Criteria) this;
        }

        public Criteria andUserNoteLessThan(String value) {
            addCriterion("user_note <", value, "userNote");
            return (Criteria) this;
        }

        public Criteria andUserNoteLessThanOrEqualTo(String value) {
            addCriterion("user_note <=", value, "userNote");
            return (Criteria) this;
        }

        public Criteria andUserNoteLike(String value) {
            addCriterion("user_note like", value, "userNote");
            return (Criteria) this;
        }

        public Criteria andUserNoteNotLike(String value) {
            addCriterion("user_note not like", value, "userNote");
            return (Criteria) this;
        }

        public Criteria andUserNoteIn(List<String> values) {
            addCriterion("user_note in", values, "userNote");
            return (Criteria) this;
        }

        public Criteria andUserNoteNotIn(List<String> values) {
            addCriterion("user_note not in", values, "userNote");
            return (Criteria) this;
        }

        public Criteria andUserNoteBetween(String value1, String value2) {
            addCriterion("user_note between", value1, value2, "userNote");
            return (Criteria) this;
        }

        public Criteria andUserNoteNotBetween(String value1, String value2) {
            addCriterion("user_note not between", value1, value2, "userNote");
            return (Criteria) this;
        }

        public Criteria andJoinIdIsNull() {
            addCriterion("join_id is null");
            return (Criteria) this;
        }

        public Criteria andJoinIdIsNotNull() {
            addCriterion("join_id is not null");
            return (Criteria) this;
        }

        public Criteria andJoinIdEqualTo(Long value) {
            addCriterion("join_id =", value, "joinId");
            return (Criteria) this;
        }

        public Criteria andJoinIdNotEqualTo(Long value) {
            addCriterion("join_id <>", value, "joinId");
            return (Criteria) this;
        }

        public Criteria andJoinIdGreaterThan(Long value) {
            addCriterion("join_id >", value, "joinId");
            return (Criteria) this;
        }

        public Criteria andJoinIdGreaterThanOrEqualTo(Long value) {
            addCriterion("join_id >=", value, "joinId");
            return (Criteria) this;
        }

        public Criteria andJoinIdLessThan(Long value) {
            addCriterion("join_id <", value, "joinId");
            return (Criteria) this;
        }

        public Criteria andJoinIdLessThanOrEqualTo(Long value) {
            addCriterion("join_id <=", value, "joinId");
            return (Criteria) this;
        }

        public Criteria andJoinIdIn(List<Long> values) {
            addCriterion("join_id in", values, "joinId");
            return (Criteria) this;
        }

        public Criteria andJoinIdNotIn(List<Long> values) {
            addCriterion("join_id not in", values, "joinId");
            return (Criteria) this;
        }

        public Criteria andJoinIdBetween(Long value1, Long value2) {
            addCriterion("join_id between", value1, value2, "joinId");
            return (Criteria) this;
        }

        public Criteria andJoinIdNotBetween(Long value1, Long value2) {
            addCriterion("join_id not between", value1, value2, "joinId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}